package com.myself.community.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {

    //主键
    private int id;

    //名称
    private String username;

    //密码
    private String password;

    //密码补充
    private String salt;

    //邮箱
    private String email;

    //用户类别:0-普通用户; 1-超级管理员; 2-版主;
    private int type;

    //状态：0-未激活; 1-已激活;
    private int status;

    //激活码
    private String activationCode;

    //头像地址
    private String headerUrl;

    //创建时间
    private Date createTime;


}
